package cn.star.jots.preview.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class PreviewVO {
    @ApiModelProperty(value = "预告片id")
    Long id;
    @ApiModelProperty(value = "电影id")
    Long filmId;
    @ApiModelProperty(value = "预告片名称")
    String title;
    @ApiModelProperty(value = "预告片缩略图")
    String thumbnail;
    @ApiModelProperty(value = "预告片视频地址")
    String videoUrl;
    @ApiModelProperty(value = "预告片时长(分)")
    String minute;
    @ApiModelProperty(value = "预告片时长(秒)")
    String second;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    Date createTime;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    Date updateTime;
}
